package com.servlets.authentication;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class Authenticate
 */
public class Authenticate
        extends HttpServlet {

    private static final long serialVersionUID = 1L;



    public Authenticate() {

        super();

    }



    protected void doGet ( HttpServletRequest request,
                           HttpServletResponse response )
            throws ServletException, IOException {

        RequestDispatcher view = request.getRequestDispatcher("/pages/loginPage.jsp");
        view.forward(request, response);
    }



    protected void doPost ( HttpServletRequest request,
                            HttpServletResponse response )
            throws ServletException, IOException {

    }

}
